from fastapi import APIRouter

from web.controller.welcome import welcome
from web.controller.chinese_chess import chinese_chess

web_router = APIRouter(prefix='', tags=['web'])

web_router.add_api_route(path='/welcome', endpoint=welcome, methods=['GET'])
web_router.add_api_route(path='/', endpoint=chinese_chess, methods=['GET'])
